package com.ihr360.payroll.model.dto.staff.embeddable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * @author Stone.Shi
 * @description
 * @date 2018-02-01 16:16:08.
 */
@Embeddable
public class StaffInfoEntity {

    @Column(length = 40, nullable = false, unique = true)
    private String staffId;
    /**
     * 姓名
     */
    @Column(length = 32)
    private String staffName;
    /**
     * 手机号
     */
    @Column(length = 18)
    private String mobileNo;
    /**
     * 性别
     */
    @Column(length = 128)
    private String sex;
    /**
     * 证件类型(直接存名称)
     */
    @Column(length = 20)
    private String idCardType;
    /**
     * 证件号
     */
    @Column(length = 30)
    private String idCardNo;

    /**
     * 部门id
     */
    private Long departmentId;

    /**
     * 部门名称
     */
    @Column(length = 128)
    private String departmentName;

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getMobileNo() {
        return mobileNo;
    }

    public void setMobileNo(String mobileNo) {
        this.mobileNo = mobileNo;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIdCardType() {
        return idCardType;
    }

    public void setIdCardType(String idCardType) {
        this.idCardType = idCardType;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }
}
